<?php

namespace App\Containers\AppSection\Log\Actions;

use App\Containers\AppSection\Log\Tasks\GetAllLogsTask;
use App\Ship\Parents\Actions\Action;
use App\Ship\Parents\Requests\Request;

class GetProfilesLogsAction extends Action
{
    public function run(Request $request)
    {
        return app(GetAllLogsTask::class)
            ->addRequestCriteria()
            ->addOrderByCriteria()
            ->run();
    }
}
